package uk.co.richardwkirk.funnels;

import javax.swing.JApplet;
import javax.swing.SwingUtilities;

public class FunnelApplet extends JApplet {

    public void init() {
        
        try {
            SwingUtilities.invokeAndWait(new Runnable() {
                public void run() {
                    createGUI();
                }
            });
        } catch (Exception e) {
            System.err.println("createGUI didn't complete successfully");
        }
    }
    
    
    private void createGUI() {
        //Create and set up the content pane.
        FunnelDisplayPanel newContentPane = new FunnelDisplayPanel();
        newContentPane.setOpaque(true); 
        setContentPane(newContentPane);        
    }  
	
}
